projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823ab3f
)
Added comment regarding a Python bug.
author
Ewan Mellor
<ewan@xensource.com>
Tue, 27 Mar 2007 22:03:32 +0000
(23:03 +0100)
committer
Ewan Mellor
<ewan@xensource.com>
Tue, 27 Mar 2007 22:03:32 +0000
(23:03 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendLogging.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendLogging.py
b/tools/python/xen/xend/XendLogging.py
index 3d6b678f1d09c31e4fd06bd6f848e7568b24c1a3..6fa58c02e35f9a0a48a20e1c4baacebda534cbd9 100644
(file)
--- a/
tools/python/xen/xend/XendLogging.py
+++ b/
tools/python/xen/xend/XendLogging.py
@@
-62,6
+62,7
@@
if 'TRACE' not in logging.__dict__:
# Work around a bug in Python's inspect module: findsource is supposed to
# raise IOError if it fails, with other functions in that module coping
# with that, but some people are seeing IndexError raised from there.
+ # This is Python bug 1628987. http://python.org/sf/1628987.
if hasattr(inspect, 'findsource'):
real_findsource = getattr(inspect, 'findsource')
def findsource(*args, **kwargs):